#include<iostream>
#include<list>
#include<vector>
using namespace ::std;

struct  ListNode
{
    struct ListNode *next;
    int val;
    ListNode(int x):
    next(nullptr),
    val(x)
    {}
};

void Randomly_generated_linked_lists(vector<vector<ListNode*>>&lists)
{
    int m = lists.size();
    for(int i =0;i<m;i++)
    { 
         int n = rand() % 7;
        for(int j = 0;j<n;j++ )
        {
            int value = rand() % 10;
            lists[i] = new vector<ListNode*>;
        }
    }
}


int main()
{
    int k = 0;
    cout << "请输入链表的个数：";
    cin >> k;
    cout << endl;
    srand((unsigned int)NULL);
   
    vector<vector<ListNode*>> lists(k);
    Randomly_generated_linked_lists(lists);

    return 0;
}